package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.ProductPartEntity;
import com.zhenwei.zscm.model.dto.productPart.ProductPartDTO;
import com.zhenwei.zscm.model.vo.productPart.ProductPartVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ProductPartMapping {
    ProductPartMapping INSTANCE = Mappers.getMapper(ProductPartMapping.class);
    ProductPartDTO entity2Dto(ProductPartEntity e);
    ProductPartEntity dto2Entity(ProductPartDTO dto);
    ProductPartEntity vo2Entity(ProductPartVO vo);
    ProductPartDTO vo2Dto(ProductPartVO vo);
}
